<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {


    public function index(){

        $settingModel = D('Setting');

        $homePage = $settingModel->getHomePage();

        $code = $settingModel->getCodeGZ();

        $this->assign('homePage1',$homePage['homePage1']);

        $this->assign('homePage2',$homePage['homePage2']);

        $this->assign('homePage3',$homePage['homePage3']);

        $this->assign('homePage4',$homePage['homePage4']);

        $this->assign('codeValue',$code);

        $this->display();
    }

}